portableSql

StdDev Portable SQL Function

Syntax

StdDev as N (Expression as N)

Arguments

ExpressionNumeric

A field or expression.

Returns

resultNumeric

Returns the standard deviation of the expression over all rows that satisfy the expression.

Description

Compute the standard deviation of the expression over all rows that satisfy the expression.

Discussion

The StdDev function is used to calculate statistical information for a specified numeric field in a query.

StdDev() function executed on the Northwind Access database
SELECT StdDev(Order_Details.Discount) AS StdDevDiscount FROM [Order Details] Order_Details
=0.083450262651757